package com.nt.thah.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @Description: 产品信息实体
 * @author: ls
 * @Date: 2020-07-14 15:58:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Product {

    @ApiModelProperty(notes = "主键Id")
    private Integer id;

    @ApiModelProperty(notes = "类型 1-实物商品 2-虚拟商品")
    private Integer type;

    @ApiModelProperty(notes = "产品名称")
    private String name;

    @ApiModelProperty(notes = "排序，值越大约靠前")
    private Integer sort;

    @ApiModelProperty(notes = "0-未上架 1-已上架")
    private Integer shelf;

    @ApiModelProperty(notes = "是否删除 1-是 0-否")
    private Integer isDelete;

    @ApiModelProperty(notes = "创建时间")
    private String createTime;

    @ApiModelProperty(notes = "更新时间")
    private String updateTime;

    @ApiModelProperty(notes = "系统更新时间")
    private String modTime;

}